/**
 * CS490 Fall 2007
 * Created on Dec 4, 2007
 * Name: Carinna Parker
 * Username: crpyq9
 */
 package TwoClientGameConnection;

import static org.junit.Assert.*;

import org.junit.Test;
 public class TCGMessageTest {

	@Test
	public void testTCGMessageString()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testTCGMessageInteger()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testMessageSetup()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testSetMessageIdInteger()
	{
		TCGMessage message = new TCGMessage(0);
		message.setMessageId(5);
		assertEquals(5 , message.getMessageId());
	}

//	@Test
//	public void testSetMessageIdString()
//	{
//		TCGMessage message = new TCGMessage(0);
//		message.setMessageId(new String("5"));
//		
//		System.out.println(message.getMessageId().getClass());
//		//assertEquals(5 , message.getMessageId());
//	}

	@Test
	public void testSetMessageType()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testGetMessageType()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testSetCommand()
	{
		TCGMessage message = new TCGMessage(0);
		message.setCommand("success");
		assertEquals("success", message.getCommand());
	}

	@Test
	public void testAddParameter()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testGetParameterValue()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testGetCommand()
	{
		TCGMessage message = new TCGMessage(0);
		message.setCommand("success");
		assertEquals("success",message.getCommand());
	}

	@Test
	public void testGetParameters()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

	@Test
	public void testGetMessageId()
	{
		TCGMessage message = new TCGMessage(0);
		assertEquals(0, message.getMessageId());
	}

	@Test
	public void testConvertMessageToString()
	{
		fail("Not yet implemented");
		TCGMessage message = new TCGMessage(0);
	}

}


